/**
 * @file face_detect.h
 * @author your name (you@domain.com)
 * @brief 2号线程，调用人脸检测模型，用于低功耗启动判断
 * @version 0.1
 * @date 2023-2-02
 * 
 * @copyright Copyright (c) 2022
 * 
 */
struct FaceDetectBuffer
{
   int full;
   int size;
   int id;
   char buffer[10];     //缓存10个视频帧的检测结果
};

enum FaceExistFlag{
   ZERO_FLAG = 1,
   FIFTY_PERCENT_FLAG,
};

enum Status{
   LOW_ENERGY_WORKING = 0,
   NORMAL_WORKING,
};

void *face_detector(void *arg);